//
//  InviteDetailModel.h
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/14.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "InviteAccountItem.h"


NS_ASSUME_NONNULL_BEGIN

@interface InviteDetailModel : NSObject

/// 本月有效邀请
@property (nonatomic, assign) NSInteger effectiveInvitationCountThisMonth;
/// 总有效邀请
@property (nonatomic, assign) NSInteger effectiveInvitationCountTotal;
/// 我的邀请码
@property (nonatomic, copy) NSString *invitationCode;
/// 总邀请注册
@property (nonatomic, assign) NSInteger invitationCountTotal;
/// 本月邀请奖励
@property (nonatomic, assign) NSInteger invitationRewardThisMonth;
/// 总邀请奖励
@property (nonatomic, assign) NSInteger invitationRewardTotal;
/// 下级用户列表
@property (nonatomic, strong) NSArray * subordinateAccounts;
/// 上级用户
@property (nonatomic, strong) InviteAccountItem * superiorAccount;

/// 是否有上级
@property (nonatomic, assign)BOOL isHasSuper;
/// 是否有下级
@property (nonatomic, assign)BOOL isHasSub;
    

//{
//effectiveType = "POTENTIAL_EFFECTIVE";
//hid = 17079703;
//registerTime = 1615430108000;
//    hid = 59390051;
//    name = "\U6d9b\U54e5\U54e5";
//    portraitKey = a38c48fe5fb6d74139b0980223f03172;
//    registerTime = 1615009621000;
//}
@end

NS_ASSUME_NONNULL_END
